package club.beimeng.emailserver.entity;

import javax.mail.internet.InternetAddress;
import javax.mail.internet.MimeMultipart;

public class BEmail {
    String Subject;
    MimeMultipart mimeMultipart;
    InternetAddress[] internetAddresses;

    public BEmail(String subject, MimeMultipart mimeMultipart, InternetAddress[] internetAddresses) {
        Subject = subject;
        this.mimeMultipart = mimeMultipart;
        this.internetAddresses = internetAddresses;
    }

    public String getSubject() {
        return Subject;
    }

    public void setSubject(String subject) {
        Subject = subject;
    }

    public MimeMultipart getMimeMultipart() {
        return mimeMultipart;
    }

    public void setMimeMultipart(MimeMultipart mimeMultipart) {
        this.mimeMultipart = mimeMultipart;
    }

    public InternetAddress[] getInternetAddresses() {
        return internetAddresses;
    }

    public void setInternetAddresses(InternetAddress[] internetAddresses) {
        this.internetAddresses = internetAddresses;
    }
}
